#include <stdlib.h>
#include <stdio.h>
#include <string.h>

struct student
{
    char name[10];
    float score;
    int age;
} stu1;

void main()
{
    struct student stu = {"123", 45.0, 19};
    strcpy(stu1.name, "dddd");
    stu1.age = 19;
    stu1.score = 78.0;

    printf("%s\n", stu1.name);

    int x = 3, y = 4, z = 5;
    if (x > y)
        z = x;
    x = y;
    y = z;

// #define F(X) X *X
//     int a = 9, k = 2, m = 1, n = 0;
//     n = F(k + m) / F(k - m);

//     a /= n;
//     printf("%d\n", a);

    int k=0;
    while (k++<=2)
    {
        printf("%d\n",k);
    }

    int arr[20] ={1,2,3,4};
    
    printf("%d\n",arr[15]);
    int skt;
    printf("%d\n",skt);
    

    system("pause");
}